import { uploadType } from '@/utils/util'

export const detailConfig: any = {
	inline: false,
	labelPosition: 'left',
	labelWidth: '500px',
	column: [
		{
			label: '建筑工程消防验收合格意见书',
			prop: 'passAdviceImgs',
			type: 'upload',
			fileType: uploadType.fileMetaType,
			listType: 'text',
			labelPosition: 'top',
			showFileList: false,
			limit: 9,
			multiple: true,
			span: 24,
		},
		{
			label: '食品经营许可证',
			prop: 'foodPermitImgs',
			type: 'upload',
			fileType: uploadType.fileMetaType,
			listType: 'text',
			labelPosition: 'top',
			showFileList: false,
			limit: 9,
			multiple: true,
			span: 24,
		},
		{
			label: '养老机构设置的相关证件',
			prop: 'otherPermitImgs',
			type: 'upload',
			fileType: uploadType.fileMetaType,
			listType: 'text',
			labelPosition: 'top',
			showFileList: false,
			limit: 9,
			multiple: true,
			span: 24,
		},
		{
			label: '民办非企业单位登记证书或工商营业执照',
			prop: 'orgLicenseImgs',
			type: 'upload',
			fileType: uploadType.fileMetaType,
			listType: 'text',
			labelPosition: 'top',
			showFileList: false,
			limit: 9,
			multiple: true,
			span: 24,
		},
		{
			label: '物价备案手续',
			prop: 'pricesFilingImgs',
			type: 'upload',
			fileType: uploadType.fileMetaType,
			listType: 'text',
			labelPosition: 'top',
			showFileList: false,
			limit: 9,
			multiple: true,
			span: 24,
		},
	],
}
detailConfig.column.forEach(el => {
	if(el.type !='DividerHtml'){
		el.span = 8
	}
});
